import java.util.Date;
import java.util.*;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 阿宾
 * Date: 2024-05-11
 * Time: 14:31
 */
class Test{
    //属性
    public int age;//成员变量，默认值是0

    //行为
    public void method(){
        int age = 10;//局部变量，必须先定义，赋值在使用
        System.out.println(age);
    }

    public Test(int age) {
        this.age = age;
    }
}
public class Test04 {
    public static void main(String[] args) {
        java.util.Date date = new java.util.Date();
        int[] arr = new int[]{1,2,3,4};
        // 得到一个毫秒级别的时间戳
        System.out.println(date.getTime());
        System.out.println(Arrays.toString(arr));
    }
}
